package com.example.Weahter;

import javafx.beans.property.SimpleStringProperty;

/**
 * @author 时鸣雨
 * @target
 */
public class Data4 {

    private SimpleStringProperty date;//日期
    private SimpleStringProperty timeText;//星期
    private SimpleStringProperty weather;//天气
    private SimpleStringProperty temp;//温度
    private SimpleStringProperty windDirection;//风向
    private SimpleStringProperty windLevel;//风级
    private SimpleStringProperty aqiLevel;//空气质量

    public Data4( String date, String timeText, String weather, String temp, String windDirection, String windLevel, String aqiLevel) {

        this.date = new SimpleStringProperty(date);
        this.timeText = new SimpleStringProperty(timeText);
        this.weather = new SimpleStringProperty(weather);
        this.temp = new SimpleStringProperty(temp);
        this.windDirection = new SimpleStringProperty(windDirection);
        this.windLevel = new SimpleStringProperty(windLevel);
        this.aqiLevel = new SimpleStringProperty(aqiLevel);
    }



    public String getDate() {
        return date.get();
    }

    public SimpleStringProperty dateProperty() {
        return date;
    }

    public void setDate(String date) {
        this.date.set(date);
    }

    public String getTimeText() {
        return timeText.get();
    }

    public SimpleStringProperty timeTextProperty() {
        return timeText;
    }

    public void setTimeText(String timeText) {
        this.timeText.set(timeText);
    }

    public String getWeather() {
        return weather.get();
    }

    public SimpleStringProperty weatherProperty() {
        return weather;
    }

    public void setWeather(String weather) {
        this.weather.set(weather);
    }

    public String getTemp() {
        return temp.get();
    }

    public SimpleStringProperty tempProperty() {
        return temp;
    }

    public void setTemp(String temp) {
        this.temp.set(temp);
    }

    public String getWindDirection() {
        return windDirection.get();
    }

    public SimpleStringProperty windDirectionProperty() {
        return windDirection;
    }

    public void setWindDirection(String windDirection) {
        this.windDirection.set(windDirection);
    }

    public String getWindLevel() {
        return windLevel.get();
    }

    public SimpleStringProperty windLevelProperty() {
        return windLevel;
    }

    public void setWindLevel(String windLevel) {
        this.windLevel.set(windLevel);
    }

    public String getAqiLevel() {
        return aqiLevel.get();
    }

    public SimpleStringProperty aqiLevelProperty() {
        return aqiLevel;
    }

    public void setAqiLevel(String aqiLevel) {
        this.aqiLevel.set(aqiLevel);
    }
}
